package org.project.dao.user;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.project.pojo.SysUser;
import org.project.pojo.SysUserExample;

public interface SysUserMapper {
    int countByExample(SysUserExample example);
    int count(SysUser user);
    int deleteByExample(SysUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    List<SysUser> selectByExample(SysUserExample example);

    SysUser selectByPrimaryKey(Integer id);
     List<SysUser> getUserList(SysUser user);

    int updateByExampleSelective(@Param("record") SysUser record, @Param("example") SysUserExample example);

    int updateByExample(@Param("record") SysUser record, @Param("example") SysUserExample example);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);
    
    SysUser loginselect(SysUser user);
	
	void  loginupdate(SysUser user); 
	
	
	int xiugaimima(SysUser user);
	
	int tianjiauser(SysUser user);
}